﻿#region Copyright
/// <copyright>
/// Copyright (c) 2008 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections.Generic;
using System.Text;

namespace Osh.Media
{
	public class PlayerNotFoundException : OshException
	{
		private Type _playerType;

		public PlayerNotFoundException(Type playerType, string message)
			: base(message)
		{
			_playerType = playerType;
		}

		public PlayerNotFoundException(Type playerType, string message, Exception innerException)
			: base(message, innerException)
		{
			_playerType = playerType;
		}

		public Type PlayerType
		{
			get { return _playerType; }
		}
	}
}
